//
//  Common.swift
//  LiuWeiBo
//
//  Created by 刘晓晨 on 2017/3/30.
//  Copyright © 2017年 刘晓晨. All rights reserved.
//

import UIKit

//app key
let client_id = "2950836797"

//redirect_url
let redirect_Url = "http://www.itcast.cn"

let client_secret = "a7fc9639ada37375ca77c9cd66864d6f"

let notificationName = "notificationName"

//沙盒地址
let path = (NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! as NSString).appendingPathComponent("userAccount.archive")

//homeCell标示
let HomeCellID = "HomeCellID"

//随即颜色
func randomColor()-> UIColor {
    let red = CGFloat(arc4random_uniform(256))/255
    let green = CGFloat(arc4random_uniform(256))/255
    let blue = CGFloat(arc4random_uniform(256))/255
    return UIColor(red: red, green: green, blue: blue, alpha: 1)
}

//home页边距
let homeMargin:CGFloat = 10

//屏幕的宽度
let screenWidth = UIScreen.main.bounds.size.width

//屏幕的高度
let screenHeight = UIScreen.main.bounds.size.height

//转发图片cellId
let retweetPicId = "retweetPicId"

//添加图片cellId
let composePicCellId = "composePicCellId"

//表情键盘cellId
let emoticonCellId = "emoticonCellId"

//表情按钮点击通知
let emoticonButtonNotification = "emoticonButtonNotification"

//表情键盘delete按钮点击通知
let emoticonDeleteButtonNotification = "emoticonDeleteButtonNotification"

//bundle路径
let MainbundlePath = Bundle.main.path(forResource: "Emoticons.bundle", ofType: nil)

